package com.yuke.cloud.service.uac.dao;

import com.yuke.cloud.common.core.mybatis.MyMapper;
import com.yuke.cloud.service.uac.entity.AccRole;

import java.util.List;

public interface AccRoleMapper extends MyMapper<AccRole> {

    /**
     * Query role list with page list.
     *
     * @param role the role
     *
     * @return the list page
     */
    List<AccRole> queryRoleListWithPage(AccRole role);

    /**
     * Select all role info by user id list.
     *
     * @param userId the user id
     *
     * @return the list
     */
    List<AccRole> selectAllRoleInfoByUserId(Long userId);
}